package com.tanger.permission.mapper.permission;

import com.tanger.permission.entity.permission.EntityButton;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * 数据持久接口层
 */
public interface ButtonMapper {

	/**
	 * 查询列表
	 * @param paramMap
	 * @return
	 */
	List<LinkedHashMap<String, Object>> queryButton(Map<String, Object> paramMap);


	/**
	 * 查询详情
	 * @param id
	 * @return
	 */
	EntityButton ButtonInfo(@Param("id") Long id);

	/**
     * 查列表
	 * @param paramMap
     * @return
     */
	List<EntityButton> queryButtonList(Map<String, Object> paramMap);
}
